package org.jeecg.modules.home.monitoring.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 月月鸟
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="首页监控对象", description="首页监控对象")
public class MonitoringPile {
    private static final long serialVersionUID = 1L;
    /**网点主键*/
    @ApiModelProperty(value = "网点主键")
    private String stationId;
    /**网点编号*/
    @ApiModelProperty(value = "网点编号")
    private String stationCode;
    /**网点名称*/
    @ApiModelProperty(value = "网点名称")
    private String stationName;
    /**网点地址*/
    @ApiModelProperty(value = "网点地址")
    private java.lang.String address;
    /**状态(1启用0禁用)*/
    @ApiModelProperty(value = "常闭(0常闭)")
    private java.lang.String status;
    /**车桩主键*/
    @ApiModelProperty(value = "车桩主键")
    private java.lang.String pileId;
    /**车桩编号*/
    @ApiModelProperty(value = "车桩编号")
    private java.lang.String pileCode;
    /**车桩状态*/
    @ApiModelProperty(value = "车桩状态 正常 异常")
    private java.lang.String pileStatus;
    /**车锁状态(1开0关)*/
    @Dict(dicCode = "lock")
    @ApiModelProperty(value = "车锁状态(1开0关) 开就是无车，关就是有车")
    private java.lang.String lockStatus;
    /**备注*/
    @ApiModelProperty(value = "异常备注")
    private java.lang.String memo;

    /**车辆主键*/
    @ApiModelProperty(value = "车辆主键")
    private java.lang.String vehicleId;
    /**车辆编号*/
    @ApiModelProperty(value = "车辆编号")
    private java.lang.String vehicleCode;
    /**车辆状态(1在桩/2骑行/3入库/4报废)*/
    @Dict(dicCode = "bike_status")
    @ApiModelProperty(value = "车辆状态(1在桩/2骑行/3入库/4报废)")
    private java.lang.String vehicleStatus;
    //-------车桩状态------
    // TODO: 2021/10/11 待确定获取源
    /**车桩故障*/
    @ApiModelProperty(value = "车桩故障")
    private List<String> pileFault;
    //语音
    @Excel(name = "音量大小", width = 15)
    @ApiModelProperty(value = "音量大小")
    private java.lang.Integer volumeSize;
    /**取车语音*/
    @Excel(name = "取车语音", width = 15,dicCode = "pickVoice")
    @ApiModelProperty(value = "取车语音")
    //@Dict(dicCode = "pickVoice")
    private java.lang.String pickVoice;
    /**还车语音*/
    @Excel(name = "还车语音", width = 15,dicCode = "returnVoice")
    @ApiModelProperty(value = "还车语音")
    //@Dict(dicCode = "returnVoice")
    private java.lang.String returnVoice;
    /**异常语音*/
    @Excel(name = "异常语音", width = 15,dicCode = "errorVoice")
    @ApiModelProperty(value = "异常语音")
    //@Dict(dicCode = "errorVoice")
    private java.lang.String errorVoice;
}
